package pl.edu.agh.lab2.sr.beans;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

import pl.edu.agh.lab2.sr.remoteInterfaces.IServerListener;

public class ServerListener extends UnicastRemoteObject implements IServerListener {

	public ServerListener() throws RemoteException {
		super();
	}

	private static final long serialVersionUID = -3138737002618352363L;

	@Override
	public void onServerNotify(String msg) throws RemoteException {
		System.out.println("[P][INFO from SRV]: " + msg);
	}

}
